package com.shungen.apicloud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shungen.apicloud.model.entity.InterfaceLabel;
import com.shungen.apicloud.model.entity.InterfaceLabelRelationship;

import java.util.List;

/**
* @author shungen
* @description 针对表【interface_label_relationship】的数据库操作Service
* @createDate 2024-08-05 22:15:19
*/
public interface InterfaceLabelRelationshipService extends IService<InterfaceLabelRelationship> {


    /**
     *通过接口id返回绑定在该接口上所有的标签关系对象的id集合
     * @param id
     * @return
     */
    List<Long> getRelationShipIdByInterfaceId(Long id);

    /**
     * 通过接口id查询接口标签id集合并返回
     * @param id
     * @return
     */
    List<Long> getInterfaceLabelIdByInterfaceId(Long id);



}
